<div class="wrapper wrapper-content" ng-controller="EBPlist">

  <div class="row">
    <div class="ibox float-e-margins">
      <div class="ibox-title">
        <h5>请输入查询条件</h5>
        <div ibox-tools="" class="ng-scope"><div dropdown="" class="ibox-tools dropdown">
          <a ng-click="showhide()"> <i class="fa fa-chevron-up"></i></a>
        </div></div>
      </div>
      <div class="ibox-content">
        <!------第一行------>
        <div class="row">
          <my-input></my-input>
          <my-timepicker></my-timepicker>
          <my-input1></my-input1>
          <my-timepicker1></my-timepicker1>
        </div>

        <!--------第三行------>
        <div class="row">

          <div class="col-md-2 col-md-offset-11">
            <div class="form-group" >
              <button ng-click="searchForInput();" class="btn btn-primary  col-md-5 ">查询</button>
              <!--<button ng-click="addNewImage();" class="btn btn-primary  col-md-6 pull-right"><i class="fa fa-plus"></i>-->
              <!--<i class="glyphicon glyphicon-picture"></i>&nbsp;新增图像</button>-->
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-lg-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>
            用户列表
            <!--<small>查看就诊人员信息</small>-->
          </h5>
          <div ibox-tools></div>
        </div>
        <div class="ibox-content">

          <table class="table footable table-stripped toggle-arrow-tiny"id="mainTable" data-page-size="5" my-footable>
            <thead>
            <tr>
              <th style="max-width:50px;min-width:50px;">影像</th>
              <th  class="hidden-xs hidden-sm">类别</th>
              <th class="hidden-xs hidden-sm">患者ID</th>
              <th  class="">性别</th>
              <th class="">年龄</th>
              <th  class="">姓名</th>
              <th  class="hidden-xs hidden-sm">影像上传时间</th>
              <th class="hidden-xs hidden-sm">影像拍摄时间</th>
              <th  class="hidden-xs hidden-sm">上传IP</th>
              <th >操作</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="person in persons |filter:mFilter_noImage|orderBy:'-uploadtime'">
              <td rowspan=""><a ng-click="viewer(person.imageid,person.patientid,person.studyid)">
                <img class="td-image img-rounded" style="height: 50px;"

                     ng-src="{{expressions | imageShow:person.imageid:person.thumb:person.sex}}"
                     err-src="img/404.jpg"/>
              </a>
              </td>
              <td class="hidden-xs hidden-sm">{{ person.modality }}</td>
              <td class="hidden-xs hidden-sm">{{ person.patientid }}</td>
              <td>{{ person.sex | selectSex }}</td>
              <td>{{ person.birthday | presentAge }}</td>
              <td>{{ person.patientname | limitTo:10}}</td>
              <td class="hidden-xs hidden-sm">{{ person.uploadtime }}</td>
              <td class="hidden-xs hidden-sm">{{ person.studydate | photoTime }}</td>
              <td class="hidden-xs hidden-sm">{{ person.serverip}}</td>
              <td>
                <a ng-click="viewer(person.imageid,person.patientid,person.studyid)"><button class="btn btn-outline btn-info" type="button">阅片</button></a>

              </td>
            </tr>
            </tbody>
            <tfoot>
            <tr>
              <td colspan="50">
                <ul class="pagination pull-right"></ul>
              </td>
            </tr>
            </tfoot>
          </table>

        </div>
      </div>
    </div>
  </div>
</div>
